<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>在线下单 </title>
    <%@ include file="/main/main_css.jsp" %>
    <%@ include file="/main/main_js.jsp" %>
</head>
<body>
    <!--  -->
    <div class="all-wrapper">
        <div class="row com-header text-center">
            <span>鹰潭市行政服务中心</span>
        </div>
        <div class="row" >
                <div class="time-count pull-right">
                   <span>剩余</span> <span id="time" class="text-red"></span> <span>秒</span>
                </div>
         </div>
        <div class="row main-content process-query circle">
            <div class="col-md-24">
            	<i class="fa fa-check-circle"></i>
            </div>
            <div class="col-md-24">
            	<span>${status }</span>
            </div>
        </div>
        <div class="row footer">
            <a class="btn btn-success btn-lg" href="loginOut" role="button"><i class="fa fa-reply"></i>返回首页</a>
<!--             <a class="btn btn-primary btn-lg" href="#" onClick="javascript :history.go(-2);" role="button"><i class="fa fa-hand-pointer-o"></i>返回到回执单</a>
 -->        </div>
    </div>
    <form id="loginOut" action="loginOut"></form>
</body>

<script type="text/javascript">
	//页面加载动画
	var index = layer.load(3, {
	    shade: [0.3,'#000'] //0.1透明度的白色背景  
	});
	setTimeout(function(){
	    layer.close(index);
	},500);
	
	//加入倒计时
	var count =  119;
	function countdown(){
		$("#time").text(count);
		if(count > 0){
			window.setTimeout("countdown()",1000);
			count --;
		}else{
			$("#loginOut").submit();
		}
	}
	countdown();
	
	//页面高度调整
	var winH = $(document).height();
	var mainH = winH -240;
	$('.main-content').height(mainH);
</script>
</html>
